sum of three fractions